package com.rc.evcharger.protocol.ylevcharger.service;


import com.rc.evcharger.vo.charge.StartChargeReq;
import com.rc.evcharger.vo.charge.StopChargeReq;

/**
 * 向桩发送指令
 */
public interface YlCommandService {
    /**
     * 发送充电指令
     *
     * @param startChargeReq
     * @return
     */
    Integer query_start_charge(StartChargeReq startChargeReq);

    /**
     * 发送结束充电
     *
     * @param stopChargeRequest
     * @return
     */
    Integer query_stop_charge(StopChargeReq stopChargeRequest);


    /**
     * 发送远程升级指令
     *
     * @param elecGunId
     * @param fileName
     * @param startType
     * @return
     */
    Integer sendRemoteUpdate(Long elecGunId, String fileName, String startType);

    /**
     * 校时
     *
     * @param elecGunId
     * @return
     */
    int sendTimingDate(Long elecGunId);

    int sendIntegerParam(Long elecGunId,int type);

    int sendResetPile(Long elecGunId);

    int sendPrice(Long elecGunId);

    int sendQCode(Long elecGunId);
}
